﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo
{
    class Program
    {
        static void Main(string[] args)
        {
            int num1 = 4, num2 = 7, num3 = 7;//定义3个int变量，并初始化
            //输出3个变量的值
            Console.WriteLine("num1=" + num1 + " , num2=" + num2 + " , num3=" + num3);
            Console.WriteLine();                                    //换行
            Console.WriteLine("num1<num2的结果：" + (num1 < num2)); //小于操作
            Console.WriteLine("num1>num2的结果：" + (num1 > num2)); //大于操作
            Console.WriteLine("num1==num2的结果：" + (num1 == num2));   //等于操作
            Console.WriteLine("num1!=num2的结果：" + (num1 != num2));   //不等于操作
            Console.WriteLine("num1<=num2的结果：" + (num1 <= num2));   //小于等于操作
            Console.WriteLine("num2>=num3的结果：" + (num2 >= num3));   //大于等于操作
            Console.ReadLine();
        }
    }
}
